package com.bonuo.saas.service.impl;

import com.bonuo.saas.domain.ResearchProjectQueryPassword;
import com.bonuo.saas.mapper.ResearchProjectQueryPasswordMapper;
import com.bonuo.saas.service.ResearchProjectQueryPasswordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ResearchProjectQueryPasswordServiceImpl implements ResearchProjectQueryPasswordService {
    @Autowired
    private ResearchProjectQueryPasswordMapper researchProjectQueryPasswordMapper;

    @Override
    public List<ResearchProjectQueryPassword> selectResearchProjectQueryPasswordList(ResearchProjectQueryPassword researchProjectQueryPassword) {
        return researchProjectQueryPasswordMapper.selectResearchProjectQueryPasswordList(researchProjectQueryPassword);
    }

    @Override
    public int insertResearchProjectQueryPassword(ResearchProjectQueryPassword researchProjectQueryPassword) {
        return researchProjectQueryPasswordMapper.insertResearchProjectQueryPassword(researchProjectQueryPassword);
    }

    @Override
    public int updateResearchProjectQueryPassword(ResearchProjectQueryPassword researchProjectQueryPassword) {
        return researchProjectQueryPasswordMapper.updateResearchProjectQueryPassword(researchProjectQueryPassword);
    }

    @Override
    public int deleteResearchProjectQueryPasswordById(Integer id) {
        return researchProjectQueryPasswordMapper.deleteResearchProjectQueryPasswordById(id);
    }
}
